package pers.xhh.shopapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wei-xhh
 * @date 2020-11-24
 */
@TableName("mi_permission")
public class MiPermissionEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 权限id
     */
    @TableId(type = IdType.AUTO)
    private Integer psId;
    /**
     * 权限名称
     */
    private String psName;
    /**
     * 父id
     */
    private Integer psPid;
    /**
     * 控制器
     */
    private String psC;
    /**
     * 操作方法
     */
    private String psA;
    /**
     * 权限等级
     */
    private Integer psLevel;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;

    public Integer getPsId() {
        return psId;
    }

    public void setPsId(Integer psId) {
        this.psId = psId;
    }

    public String getPsName() {
        return psName;
    }

    public void setPsName(String psName) {
        this.psName = psName;
    }

    public Integer getPsPid() {
        return psPid;
    }

    public void setPsPid(Integer psPid) {
        this.psPid = psPid;
    }

    public String getPsC() {
        return psC;
    }

    public void setPsC(String psC) {
        this.psC = psC;
    }

    public String getPsA() {
        return psA;
    }

    public void setPsA(String psA) {
        this.psA = psA;
    }

    public Integer getPsLevel() {
        return psLevel;
    }

    public void setPsLevel(Integer psLevel) {
        this.psLevel = psLevel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}

